#ifndef CALENDARDIALOG_H
#define CALENDARDIALOG_H

#include <gtkmm.h>


class CalendarDialog : public Gtk::Dialog
{
public:
    CalendarDialog();
    CalendarDialog(const Glib::ustring&  title, bool modal=false, bool use_separator=false);
    virtual ~CalendarDialog();
    virtual void get_date(guint& year, guint& month, guint& day) const;
    virtual void get_date(Glib::Date& date) const;
protected:
    virtual void on_response();
    Gtk::Calendar m_calendar;
private:
    void init();
};

#endif // CALENDARDIALOG_H
